#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: bijiahao
@date: 2020/4/16 17:17
@description:
"""
import datetime


class DateUtil(object):
	@staticmethod
	def get_current_date_str(pattern):
		date = datetime.datetime.now()
		date = date.strftime(pattern)
		return date


if __name__ == '__main__':
	print(DateUtil.get_current_date_str('%Y%m%d'))
